export const useConvert = {
  toWxReply: (apiResp) => {
    const ret: any = {}
    ret.type = apiResp.responseMessageType
    ret.content = apiResp.responseContent
    ret.mediaId = apiResp.responseMediaId
    ret.url = apiResp.responseMediaUrl
    ret.title = apiResp.responseTitle
    ret.description = apiResp.responseDescription
    ret.thumbMediaId = apiResp.responseThumbMediaId
    ret.thumbMediaUrl = apiResp.responseThumbMediaUrl
    ret.articles = apiResp.responseArticles
    ret.musicUrl = apiResp.responseMusicUrl
    ret.hqMusicUrl = apiResp.responseHqMusicUrl
    return ret
  },
}
